<?php include('view/template/common/header.tpl'); ?>
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>
<?php if ($_SESSION['success']) { ?>
<div class="success"><?php echo $_SESSION['success']; ?></div>
<?php } ?>
<div class="box">
  <div class="left"></div>
  <div class="right"></div>
  <div class="heading">
    <h1 style="background-image: url('./view/image/country.png');"><?php echo $heading_title; ?></h1>
    <div class="buttons"><a onclick="$('#form').submit();" class="button"><span><?php echo "Lưu Lại"; ?></span></a><a onclick="location = '<?php echo $link_list; ?>';" class="button"><span><?php echo "Hủy"; ?></span></a></div>
  </div>
  <div class="content">
    <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
      <table class="form">


       <tr><td><?php echo $ten_cong_ty; ?></td><td><input  type="text" name="ten_doanh_nghiep" value="<?php echo $cauhinh['ten_doanh_nghiep']; ?>" size ="80"/>
       </td></tr>
       <tr><td><?php echo $ten_viet_tat; ?></td><td><input type="text" name="ten_viet_tat" value="<?php echo $cauhinh['ten_viet_tat']; ?>" /></td></tr>
        <tr><td><?php echo $dia_chi; ?></td><td><textarea type="text" rows="5" cols="100" name="dia_chi"><?php echo $cauhinh['dia_chi'];?></textarea></td></tr>
           <tr><td><?php echo $keyword; ?></td><td><textarea type="text" rows="5" cols="100" name="keyword"><?php echo $cauhinh['keyword'];?></textarea></td></tr>
         <tr><td><?php echo $description; ?></td><td><textarea type="text" rows="5" cols="100" name="description"><?php echo $cauhinh['description'];?></textarea></td></tr>
  <!--
          <tr><td><?php echo $dien_thoai_noi_bo; ?></td><td><input type="text" name="dien_thoai_noi_bo" value="<?php echo $canbo['dien_thoai_noi_bo'];?>"/></td></tr>
          -->
          <tr><td><?php echo $dien_thoai_co_quan; ?></td><td><input type="text" name="dien_thoai" value="<?php echo $cauhinh['dien_thoai'];?>"/></td></tr>
          <tr><td><?php echo $fax; ?></td><td><input type="text" name="fax" value="<?php echo $cauhinh['fax'];?>"/></td></tr>
          <tr><td><?php echo $di_dong; ?></td><td><input type="text" name="di_dong" value="<?php echo $cauhinh['di_dong'];?>"/></td></tr>
          <tr><td><?php echo $email; ?></td><td><input type="text" name="email" value="<?php echo $cauhinh['email'];?>" size ="100"/></td></tr>

	 <tr><td><?php echo $yahoo1; ?></td>
          <td>
	    <?php echo $ten; ?><input type="text" name="ten1" value="<?php echo $cauhinh['ten1'];?>" size ="30"/> 
	    <?php echo $dt; ?><input type="text" name="dt1" value="<?php echo $cauhinh['dt1'];?>" size ="20"/>
	    <?php echo $yahoo; ?><input type="text" name="yahoo1" value="<?php echo $cauhinh['yahoo1'];?>" size ="20"/>
         </td></tr>

	 <tr><td><?php echo $yahoo2; ?></td><td>
          <?php echo $ten; ?><input type="text" name="ten2" value="<?php echo $cauhinh['ten2'];?>" size ="30"/>
          <?php echo $dt; ?><input type="text" name="dt2" value="<?php echo $cauhinh['dt2'];?>" size ="20"/> 
	  <?php echo $yahoo; ?><input type="text" name="yahoo2" value="<?php echo $cauhinh['yahoo2'];?>" size ="20"/>
	
        </td></tr>


      </table>
    </form>
  </div><div class="bottom_button"><a onclick="$('#form').submit();" class="button"><span><?php echo "Lưu Lại"; ?></span></a><a onclick="location = '<?php echo $link_list; ?>';" class="button"><span><?php echo "Hủy"; ?></span></a></div>
</div>
<?php include('view/template/common/footer.tpl'); ?>
